package com.x.crm.model;

import com.x.crm.DocDesc;
import com.x.framework.annotation.MappingColumn;
import com.x.framework.annotation.MappingTable;
import com.x.framework.model.BaseObject;
import sun.security.timestamp.TimestampToken;

import java.math.BigDecimal;
import java.sql.Timestamp;
import java.util.ArrayList;

@MappingTable(tableName = "CRM_INTENTION_MODEL")
public class IntentionModel extends BaseObject {
    @DocDesc("主键")
    @MappingColumn(columnName = "INTENTION_MODEL_ID", columnPk = true, columnLength = 32)
    private String intentionModelId;

    @DocDesc("意向id")
    @MappingColumn(columnName = "INTENTION_ID")
    private String intentionId;

    @DocDesc("品牌id")
    @MappingColumn(columnName = "BRAND_ID")
    private String brandId;

    @DocDesc("品牌名称")
    @MappingColumn(columnName = "BRAND_NAME")
    private String brandName;

    @DocDesc("车系id")
    @MappingColumn(columnName = "SERIES_ID")
    private String seriesId;

    @DocDesc("车系名称")
    @MappingColumn(columnName = "SERIES_NAME")
    private String seriesName;

    @DocDesc("车辆ID")
    @MappingColumn(columnName = "CAR_ID")
    private String carId;

    @DocDesc("车辆名称")
    @MappingColumn(columnName = "CAR_TITLE")
    private String carTitle;

    @DocDesc("车辆名称")
    @MappingColumn(columnName = "CREATE_TIME")
    private Timestamp createTime;

    @DocDesc("车辆状态")
    @MappingColumn(columnName = "CAR_STATE")
    private Integer carState;

    @DocDesc("车辆图片")
    @MappingColumn(columnName = "CAR_IMAGE_URL")
    private String carImageUrl;

    @DocDesc("车辆价格")
    @MappingColumn(columnName = "CAR_RETAIL_PRICE")
    private BigDecimal carRetailPrice;

    @DocDesc("意向")
    @MappingTable(tableName = "CRM_INTENTION")
    private Intention intention;


    private ArrayList<String> carIds;


    public String getIntentionModelId() {
        return intentionModelId;
    }

    public void setIntentionModelId(String intentionModelId) {
        this.intentionModelId = intentionModelId;
    }

    public String getIntentionId() {
        return intentionId;
    }

    public void setIntentionId(String intentionId) {
        this.intentionId = intentionId;
    }

    public String getBrandId() {
        return brandId;
    }

    public void setBrandId(String brandId) {
        this.brandId = brandId;
    }

    public String getBrandName() {
        return brandName;
    }

    public void setBrandName(String brandName) {
        this.brandName = brandName;
    }

    public String getSeriesId() {
        return seriesId;
    }

    public void setSeriesId(String seriesId) {
        this.seriesId = seriesId;
    }

    public String getSeriesName() {
        return seriesName;
    }

    public void setSeriesName(String seriesName) {
        this.seriesName = seriesName;
    }

    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

    public String getCarId() {
        return carId;
    }

    public void setCarId(String carId) {
        this.carId = carId;
    }

    public String getCarTitle() {
        return carTitle;
    }

    public void setCarTitle(String carTitle) {
        this.carTitle = carTitle;
    }

    public ArrayList<String> getCarIds() {
        return carIds;
    }

    public void setCarIds(ArrayList<String> carIds) {
        this.carIds = carIds;
    }

    public Integer getCarState() {
        return carState;
    }

    public void setCarState(Integer carState) {
        this.carState = carState;
    }

    public Intention getIntention() {
        return intention;
    }

    public void setIntention(Intention intention) {
        this.intention = intention;
    }

    public String getCarImageUrl() {
        return carImageUrl;
    }

    public void setCarImageUrl(String carImageUrl) {
        this.carImageUrl = carImageUrl;
    }

    public BigDecimal getCarRetailPrice() {
        return carRetailPrice;
    }

    public void setCarRetailPrice(BigDecimal carRetailPrice) {
        this.carRetailPrice = carRetailPrice;
    }
}
